<template>
<div class="i-layout-sider-logo">
  <a href="/" target="_self" class="i-link i-link-color">
    <img v-if="!isCollapsed" src="https://file.iviewui.com/admin-plus-dist/img/logo-dark.1a60eea3.png" />
    <img v-else src="https://file.iviewui.com/admin-plus-dist/img/logo-small.4a34a883.png" />
  </a>
</div>
<Menus :isCollapsed="isCollapsed"/>
</template>

<script>
import Menus from '@/components/permission/Menus.vue'
export default {
  name: 'SiderLayout',
  props:{
    isCollapsed: Boolean
  },
  components: {
    Menus
  }
}
</script>
